<!-- {include file="header.html"} -->
<div id="currentPosition">
	<p>{lang your_current_position} {lang trade_management} &raquo; {lang industry_news}</p>
</div>
<div id="rightTop"> 
    <h3>{lang industry_news}</h3> 
    <ul class="subnav">
		<li><a href="news.php" class="btn1"><span>{lang management}</span></a></li>
        <li><a href="news.php?do=edit">{lang add_or_edit}</a></li>
        <li><a href="newstopic.php">{lang topic_news}</a></li>        
        <li><a href="newstype.php">{lang sorts}</a></li>
		<li><a href="newsgather.php">{lang collection}</a></li>
    </ul>
</div>
<div class="mrightTop"> 
    <div class="fontr"> 
        <form name="search_frm" id="SearchFrm" method="get"> 
        <input type="hidden" name="do" value="search" />
             <div> 
				{lang title_keywords}{lang colon}<input class="queryInput" type="text" name="q" value="{$smarty.get.q}" /> 
                <input type="submit" name="search" id="Search" class="formbtn" value="{lang searching}" /> 
            </div> 
        </form> 
    </div> 
    <div class="fontr"></div> 
</div> 
<div class="tdare">
  <form name="list_frm" id="ListFrm" action="news.php" method="post">
  <table width="100%" cellspacing="0" class="dataTable" summary="{lang data_zone}">
    <thead>
		<tr>
		  <th class="firstCell"><input type="checkbox" name="idAll" id="idAll" onclick="pbCheckAll(this,'id[]');" title="{lang select_switch}"></th>
		  <th><label for="idAll">{lang the_title}</label></th>
		  <th>{lang focus_headline}</th>
		  <th>{lang sorts}</th>
		  <th>{lang clicks}</th>
		  <th>{lang pub_date}</th>
		  <th>{lang action}</th>
		</tr>
    </thead>
    <tbody>
		<!--{foreach from=$Items item=item}-->
		<tr class="tatr2">
		  <td class="firstCell"><input type="checkbox" name="id[]" value="{$item.id}" onclick="pbCheckItem(this,'idAll');" id="item_{$item.id}" title="{$item.id}"></td>
		  <td><label for="item_{$item.id}">{$item.title}</label>{if $item.picture!=''}<span class="icon-pic"></span>{/if}{if $item.if_commend}<span class="icon-commend"></span>{/if}</td>
		  <td><input type="radio" name="if_focus" {if $item.if_focus=="1"}checked{/if} value="{$item.id}" value="{$item.id}" /></td>
		  <td><a title="{$Newstypes[$item.type_id]}" href="{$smarty.server.PHP_SELF}?do=search&typeid={$item.type_id}">{$Newstypes[$item.type_id]}</a></td>
		  <td>{$item.clicked}</td>
		  <td>{$item.created|date_format:"%Y-%m-%d"}</td>
		  <td class="handler">
          <ul id="handler_icon">
            <li><a class="btn_browse" href="../news/detail.php?id={$item.id}" target="_blank" title="{lang preview}">{lang preview}</a></li>
            <li><a class="btn_delete" href="news.php?id={$item.id}&do=del{$addParams}" title="{lang delete}">{lang delete}</a></li>
            <li><a class="btn_edit" href="news.php?do=edit&id={$item.id}{$addParams}" title="{lang edit}">{lang edit}</a></li>
          </ul>  
		 </td>
		</tr>
		<!--{foreachelse}-->
		<tr class="no_data info">
		  <td colspan="7">{lang no_datas}</td>
		</tr>
		<!--{/foreach}-->
    </tbody>
	</table>
	<div id="dataFuncs" title="{lang action_zone}">
    <div class="left paddingT15" id="batchAction">
      <input type="submit" name="del" value="{lang delete}" class="formbtn batchButton"/>
      <input type="submit" name="update" value="{lang set_headline}" class="formbtn batchButton"/>
      <input type="submit" name="commend" value="{lang commend}" class="formbtn batchButton"/>
      <input type="submit" name="cancel_commend" value="{lang cancel} {lang commend}" class="formbtn batchButton"/>
    </div>
    <div class="pageLinks">{$ByPages}</div>
    <div class="clear"/>
    </div>
	</form>
</div>
<!-- {include file="footer.html"} -->